//
//  NSDictionary+Extend.h
//  XLDoctor
//
//  Created by longma on 2018/12/27.
//  Copyright © 2018年 XLH. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (Extend)
/**
 json 字符串转字典

 @return 字典
 */
- (NSDictionary *)mj_stringConvertToDictionary;
/**
 json 字符串转数组
 
 @return 数组
 */
- (NSArray *)mj_stringConvertToArray;

/**
 判断字符串是否为空

 @param string id
 @return BOOL
 */
+ (BOOL)isNullString:(id)string;

/**
 获取指定字符中间的字符串

 @param preString 前面字符
 @param laterString 后面字符
 @return 截取后的字符串
 */
- (NSString *)mj_stringByPreviousString:(NSString *)preString LaterString:(NSString *)laterString;
@end

NS_ASSUME_NONNULL_END
